<div class="properties-rows widget member-login"
	style="border: 0px none;">
<div class="">
<form action="<?php echo base_url(); ?>research.html?" method="get"
	class=""><input type="hidden" name="action" value="research-filter">
<div class="formStep">
<div class="row-fluid">
<div class="span4">
<div class="control-group"><label class="control-label country"
	for="inputCountry">Country</label>
<div class="controls"><select name="country" id="inputCountry">
<?php foreach($countries as $country) { ?>
	<option value="<?php echo $country->Country_ID; ?>"
	<?php if($country->Name == "Indonesia") {echo 'selected="selected"';} ?>><?php echo $country->Name; ?></option>
	<?php } ?>
</select></div>
</div>
</div>
<div class="span4">
<div class="control-group"><label class="control-label country"
	for="inputCountry">City</label>
<div class="controls"><select name="city" id="inputCity">
	<option value="">All</option>
	<?php foreach ($cities as $cty) { ?>
	<option value="<?php echo $cty->City_ID; ?>"
	<?php if($cty->City_ID == $city) {echo 'selected="selected"';} ?>><?php echo $cty->Name; ?></option>
	<?php } ?>
</select></div>
</div>
</div>
<div class="span4">
<div class="control-group"><label class="control-label country"
	for="inputCountry">Business Line</label>
<div class="controls"><select name="businessLine" id="inputbusinessLine">
	<option value="">All</option>
	<?php foreach ($researchCategories as $category) { ?>
	<option value="<?php echo $category->ResearchTopicFID; ?>"
	<?php if($category->ResearchTopicFID == $businessLine){echo 'selected="selected"';} ?>><?php echo $category->Name; ?></option>
	<?php } ?>
</select></div>
</div>
</div>
</div>
</div>
<div class="formStep">
<div class="row-fluid">
<div class="span4">
<div class="control-group"><label>Start date</label>
<div class="controls">
<div class="input-append date" id="dpStart"
	data-date-format="dd/mm/yyyy" data-date="04/10/2013"><input
	name="startDate" class="span12" size="16" value="04/10/2013"
	readonly="" type="text"> <span class="add-on"><i class="icon-calendar"></i></span>
</div>
</div>
</div>
</div>
<div class="span4">
<div class="control-group"><label>End date</label>
<div class="controls">
<div class="input-append date" id="dpEnd" data-date-format="dd/mm/yyyy"
	data-date="04/10/2013"><input name="endDate" class="span12" size="16"
	value="04/10/2013" readonly="" type="text"> <span class="add-on"><i
	class="icon-calendar"></i></span></div>
</div>
</div>
</div>
<div class="span4">
<div class="control-group">
<div class="controls btnFilter form-actions" style="margin-right: 45px;">
<button type="submit" class="btn btn-primary btn-large">Filter</button>
</div>
</div>
</div>
</div>
</div>
</form>
</div>
<!-- /.filter --></div>
<!-- /.properties-rows -->
